import {
  Http
} from '../utils/http'
class Login {
  // 调用Http request请求基类
  static async getWxSessionKey(data) {
    return await Http.request({
      url: '/user/wxsessionkey',
      method:'POST',
      data,
    })
  }
  static async postLogin(data) {
    return await Http.request({
      url: '/user/wxauth',
      method:'POST',
      data,
    })
  }
}
export {
  Login
}